package cn.iocoder.yudao.module.resource.controller.admin.audiotone.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 声纹管理新增/修改 Request VO")
@Data
public class AudioToneSaveReqVO {

    @Schema(description = "唯 一id", requiredMode = Schema.RequiredMode.REQUIRED, example = "18507")
    private Integer id;

    @Schema(description = "声纹名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "声纹名称不能为空")
    private String name;

    @Schema(description = "声纹文件id", requiredMode = Schema.RequiredMode.REQUIRED, example = "7160")
    @NotNull(message = "声纹文件id不能为空")
    private Long fileId;

}